<?php 

$this->widget('EExcelWriter', array(
  'dataProvider' => $model->search(),
  'title'        => 'logs',
  'fileName' => 'logs.xls',
  'stream'       => TRUE,
  'columns' => array(
		'id',
		'timestamp',
		'user',
		'ip',
		'level',
		'message',

	),
	
)); ?>